package com.atguigu.gulimall.ware;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Classname WareMemberFeignService
 * @Description 根据远程的会员服务获取地址信息
 * @Date 2021/10/15 14:50
 * @Author Anonymous
 */
@FeignClient("gulimall-member")
public interface WareMemberFeignService {

    /**
     * 根据地址id获取地址信息
     */
    @RequestMapping("/member/memberreceiveaddress/info/{id}")
    R info(@PathVariable("id") Long id);
}
